<!-- 模态框内容 开始 -->
<div class="modal fade" id="alterLogo" tabindex="-1" role="dialog" aria-labelledby="alterLogoLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="alterLogoLabel">设置企业LOGO</h4>
            </div>
            <form name="alterLogoForm" action="{{ url('/admin/setting/alter/logo') }}" method="POST"
                  enctype='multipart/form-data'>
                <div class="modal-body">
                    <p>1. 新头像不允许涉及政治敏感与色情。</p>
                    <p>2. 图片格式只支持：BMP、JPEG、JPG、GIF、PNG，大小不超过2M。</p>
                    <p>
                        <span>原LOGO:<br/></span>
                        <span>
                            @if($company->company_logo)
                                <img style="width:100px;" src="{{ $company->company_logo }}" alt="企业LOGO">
                            @else
                                <span>未上传</span>
                            @endif
                        </span>
                    </p>

                    <input type="hidden" name="_token" value="{{ csrf_token() }}">
                    <input type="file" name="company_logo" id="logoInput">

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary" id="logoFormSubmit">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!-- 模态框内容 结束 -->
